#ifndef FILE_H
#define FILE_H

#include <string>
#include <regex>
#include <iostream>
#include <map>

class File{
public:
	enum TypeFile{
		MOVIE,
		SETMOVIE,
		SERIE,
		SUBTITLE,
		OTHER
	};
	File(void);
	File(std::string);
	void setLocation(std::string);
	std::string getLocation(void);
	void open(void);
	void rename(std::string);
	void move(std::string);
	File::TypeFile type(void);
	virtual std::string name(void)=0;
	std::string getPath(void);
	std::string getFileName(void);
	std::string getExtension(void);
	~File(void);
private:
	void initialize();
	std::string location;
	std::string path;
	std::string fileName;
	std::string extension;
};

#endif